<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>勾子管理</title>
<include file="./Apps/BoxAdmin/View/Public/header.html" />
</head>
<body>
<div class="list_vmall_man">
	<div class="list_vmall_le"> 
		<!-- <p class="list_vmall_bin"><a href="<{:U('level')}>" target="_black">会员等级管理</a></p> --> 
		<include file="./Apps/BoxAdmin/View/Public/adminMenu.html" /> </div>
	<div class="list_vmall_rig" >
		<section class="content">
			<div class="page-content" >
				<div class="panel panel-default">
					<div class="panel-heading"> <strong>勾子管理</strong> </div>
					<div class="panel-body">
						<div id="toolbar" style="width: 100%;">
							<form id="filter" method="get"  class="form-horizontal">
								<div class="form-group">
									<div class="col-sm-3">
										<input type="text" name="kw" value="<{$kw}>" class="form-control" placeholder="插件名称">
									</div>
									<div class="col-sm-4" style="float:right; width:auto">
										<input type="submit" class="btn btn-primary pull-right" value="筛选">
									</div>
								</div>
							<div class="form-group">
                        <div class="col-sm-8">
                            <a href="<{:U('hook_add')}>" class="btn btn-default">
                                <i class="fa fa-plus"></i>
                                添加
                            </a>
                        </div>
                         
                    </div>
							</form>
						</div>
						<div class="bootstrap-table">
							<div class="fixed-table-container" style="padding-bottom: 0px;">
								<div class="fixed-table-body">
									<table id="data-table" class="table">
										<thead>
											<tr>
												
												<th style="" data-field="name"><div class="th-inner ">名称</div>
													<div class="fht-cell"></div></th>
												<th style="" ><div class="th-inner ">备注</div>
													<div class="fht-cell"></div></th>
												<th style="" ><div class="th-inner ">添加时间</div>
													<div class="fht-cell"></div></th>
												<th style="" ><div class="th-inner ">状态</div>
													<div class="fht-cell"></div></th>
												<th style="" data-field="id"><div class="th-inner ">操作</div>
													<div class="fht-cell"></div></th>
											</tr>
										</thead>
										<tbody>
											<volist name="data" id="vo">
												<tr data-index="0">
											
													<td style=""><{$vo.hook_name}></td>
													<td style=""><{$vo.remark}></td>
													<td style=""><{$vo.addtime}></td>
													<td style=""><{$vo['status']==1?"启用":"禁用"}></td>
													<td style="">
													<a href="<{:U('hook_add',array('hook_name'=>$vo['hook_name']))}>" class="btn btn-primary btn-xs">编辑</a>&nbsp;&nbsp; 
													<a href="<{:U('hook_status',array('hook_name'=>$vo['hook_name']))}>" class="btn btn-primary btn-xs"><{$vo['status']==1?"禁用":"启用"}></a>&nbsp;&nbsp;
													<a data-type="confirm" content="确认删除吗？" href="<{:U('hook_del',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs">删除</a>
													</td>
												</tr>
											</volist>
										</tbody>
									</table>
								</div>
								<include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" /> </div>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
			</div>
		</section>
	</div>
</div>
</div>
</body>
</html>
